package com.naiterui.ehp.bs.cms.modules.oms.vo;

import java.io.Serializable;
import java.util.List;

import javax.validation.constraints.NotNull;

import lombok.Data;
import lombok.EqualsAndHashCode;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 换货明细VO
 */
@EqualsAndHashCode(callSuper = true)
@ApiModel("换货信息")
@Data
public class ExchangeOrderDetailVO extends ReturnOrderDetailVO implements Serializable {
    private static final long serialVersionUID = -2574608302923755291L;


    /**
     * 换出商品
     */
    @ApiModelProperty("换出商品明细")
    @NotNull.List(value = {@NotNull(groups = ReturnOrderItemVO.class, message = "换出商品不能为空")})
    private List<ReturnOrderItemVO> exchanges;

}
